package de.baumann.browser.views.dialog;

import android.content.Context;
import android.support.annotation.NonNull;
import android.view.Gravity;
import android.view.View;

import de.baumann.browser.R;

public class AdBlockDialog extends BaseDialog {

    public void setOnClickListener(View.OnClickListener onClickListener) {
        findViewById(R.id.tvAdBlock).setOnClickListener(onClickListener);
        findViewById(R.id.tvAllowBlock).setOnClickListener(onClickListener);
    }

    public AdBlockDialog(@NonNull Context context) {
        super(context);
    }

    @Override
    protected int laoutId() {
        return R.layout.dialog_adblock;
    }


    @Override
    protected int gravity() {
        return Gravity.BOTTOM;
    }

    @Override
    protected void initView() {

    }
}
